package com.woniuxy.commons.entity.purchaseManager;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * (Product)实体类
 *
 * @author makejava
 * @since 2022-04-18 20:02:32
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@ApiModel(value = "(Product)实体类")
@TableName("product")
public class ProductEntity implements Serializable {
    private static final long serialVersionUID = 200492720371680212L;
    /**
     * 产品id
     */
    @TableField
    @ApiModelProperty(value = "产品id")
    private Integer productId;
    /**
     * 产品信息
     */
    @TableField("product_info")
    @ApiModelProperty(value = "产品信息")
    private String productInfo;
    /**
     * 产品名称
     */
    @TableField("product_name")
    @ApiModelProperty(value = "产品名称")
    private String productName;
    /**
     * 产品名称
     */
    @TableField("product_code")
    @ApiModelProperty(value = "产品编号")
    private String productCode;
    /**
     * 客户
     */
    @TableField("customer")
    @ApiModelProperty(value = "客户")
    private String customer;
    /**
     * 区域
     */
    @TableField("region")
    @ApiModelProperty(value = "区域")
    private Integer region;
    /**
     * 成色
     */
    @TableField("condition")
    @ApiModelProperty(value = "成色")
    private Integer condition;
    /**
     * 重量
     */
    @TableField("weight")
    @ApiModelProperty(value = "重量")
    private Integer weight;
    /**
     * 数量
     */
    @TableField("amount")
    @ApiModelProperty(value = "数量")
    private Integer amount;
    /**
     * 克工费
     */
    @TableField("per_gram")
    @ApiModelProperty(value = "克工费")
    private Integer perGram;
    /**
     * 产品状态
     */
    @TableField("product_status")
    @ApiModelProperty(value = "产品状态")
    private Integer productStatus;
    /**
     * 所属仓库
     */
    @TableField("depository")
    @ApiModelProperty(value = "所属仓库")
    private Integer depository;
    /**
     * 产品工艺
     */
    @TableField("workmanship")
    @ApiModelProperty(value = "产品工艺")
    private Integer workmanship;
    /**
     * 单品还是通品
     */
    @TableField("single_or_normal")
    @ApiModelProperty(value = "单品还是通品")
    private Integer singleOrNormal;
    /**
     * 产品品类
     */
    @TableField("product_type")
    @ApiModelProperty(value = "产品品类")
    private Integer productType;
    /**
     * 逻辑删除
     */
    @TableField("is_deleted")
    @ApiModelProperty(value = "逻辑删除(0正常,1表示删除)")
    private Integer isDeleted;
    /**
     * 乐观锁
     */
    @TableField("revision")
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    /**
     * 创建人
     */
    @TableField("created_by")
    @ApiModelProperty(value = "创建人")
    private String createdBy;
    /**
     * 创建时间
     */
    @TableField("created_time")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    /**
     * 更新人
     */
    @TableField("update_by")
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新时间
     */
    @TableField("update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

}

